//
//  ScoreAndTimeLayer.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/6/13.
//
//

#ifndef CanYouDoIt_ScoreAndTimeLayer_h
#define CanYouDoIt_ScoreAndTimeLayer_h

#include "cocos2d.h"
using namespace cocos2d;

class ScoreAndTimeLayer : public CCLayer{
    CCLabelBMFont* scoreLabel;
    CCLabelBMFont* timeLabel;
public:
    int gameType;
    void turnToType(int mGameType);
    double getBarHeight();
    CCRect getBarRect();
    void updateScore(int score);
    void updateTime(int time);
    virtual bool init();
    void draw();
    CREATE_FUNC(ScoreAndTimeLayer);
};


#endif
